package org.example.service.impl;

import org.example.model.pojo.Homepage;
import org.example.service.IHomepageService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.mapper.HomepageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 针对表【-Homepage】的业务操作的Service实现类
 *
 * @author
 * @since 2024-12-19
 */
@Service
public class HomepageServiceImpl extends ServiceImpl<HomepageMapper, Homepage> implements IHomepageService {

    @Autowired
    private HomepageMapper homepageMapper;

    @Override
    public List<Homepage> findPage(Integer id) {
        return homepageMapper.findPage(id);
    }

    @Override
    public List<Homepage> selectOrder(Integer[] id) {
        return homepageMapper.selectOrder(id);
    }

    @Override
    public List<Homepage> findPrice() {
        return homepageMapper.findPrice();
    }

    @Override
    public List<Homepage> findChoose() {
        return homepageMapper.findChoose();
    }


}
